package com.kaluli.project.domain.repository;

import java.util.List;

import com.kaluli.project.domain.entity.KllOrderSynApi;
import com.kaluli.system.repository.AbstractRepository;

public interface KllOrderSynApiRepository extends AbstractRepository<KllOrderSynApi>{
	
	KllOrderSynApi findByOrderNumber(String orderNumber);
	
	List<KllOrderSynApi> listNotPushOrder();
	
	void updateSynStatus(String orderNumber,String msgchannel);
	
	void updateNSynGjStatus(String orderNumber);
	
	void updateNSynHgStatus(String orderNumber);
	
	void updateNSynGjEnd(String orderNumber);
	
	void updateNSynHgEnd(String orderNumber);
	
	void updateNSynStart(String orderNumber);
	
	void updateSynByZZ(String orderNumber);
	
	void updateHGRestart(String orderNumber);
	
	public void updateSendNr(String orderNumber);
	
	public void cancelResult(String ediOrderno);
	
	public void cancelEDIresult(String ediOrderno);
	
	List<KllOrderSynApi> findSynApiList(String orderNumber);
	
	List<KllOrderSynApi> findSynApiListExmail(String startDate,String endDate);
	
	List<KllOrderSynApi> findSynApiHGList();
	
	public List<KllOrderSynApi> findEDISynApiList(String wareType);

	void updateZZStatus(String ibillingNumber);
	
	public void updateEDIOrderNo(String orderNumber,String orderNo);
	
	public KllOrderSynApi findByEdiOrderno(String ediOrderno);
	
	public List<KllOrderSynApi> getLogisticExmail();
	
	List<KllOrderSynApi> findSynApiNrList();
	
	
}
